package com.mvc.service.mb.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.BaseDaoI;
import com.mvc.dao.mapper.BaseInfoDao;
import com.mvc.model.mb.archive.BaseInfo;
import com.mvc.service.mb.UploadHandleService;
@Service
public class UploadHandleServiceImpl implements UploadHandleService {
	@Autowired
	private BaseDaoI<BaseInfo> baseDaoI;
	@Autowired
	private BaseInfoDao baseinfo;
	@Override
	public void updateBaseInfo(BaseInfo baseInfo) {
		baseDaoI.update(baseInfo);
	}

	@Override
	public List<BaseInfo> getBaseInfo(String idcard) {
		BaseInfo bi = new BaseInfo();
		bi.setIdcard(idcard);
		return baseinfo.getBaseInfo(bi) ;
	}
}
	

